package com.group9.handinhand.service.so;

import com.group9.handinhand.dao.model.OfferPost;

/**
 * Class for service of offer post
 *
 */
public class OfferPostSO extends PostSO {

	private OfferSO offer;
	/**
	 * converts to offer post model object
	 * @return
	 */
	public OfferPost convertToModelObject() {
		OfferPost model = (OfferPost) convert(new OfferPost());
		return model;
	}

	public OfferSO getOffer() {
		return offer;
	}

	public void setOffer(OfferSO offer) {
		this.offer = offer;
	}

	@Override
	public String toString() {
		return "OfferPostSO [offer=" + offer + "]";
	}
	
	
	
}
